<include file="Common:header"/>
    <title></title>
    <css file="__PUBLIC__/Admin/css/arc.css"/>
            <css file="__PUBLIC__/Admin/css/common.css"/>
        <script>
            var url = "__URL__";
            var ROOT = "__ROOT__";
        </script>
        <js file="__PUBLIC__/Admin/js/bg.js"/>
        <js file="__PUBLIC__/Admin/js/db.js"/>

            </head>
            <body>

                <!--添加类型-->
                <div class="float_bg">
                    <div class="floater">
                        <div class='float_top'>
                            <h2>添加类型</h2>
                            <a href="javascript:;" class='float_close'></a>
                        </div>
                        <div class="float">
                            <span class='type_name'>
                                类型名称:
                            </span>
                              <input type="text" class="type_text" name="name"/>
                            <p class="com_btn">
                                提交
                            </p>
                            <p class="no_btn">
                                取消
                            </p>
                        </div>
                    </div>
                </div>
                <!--提示框-->
                <div class='mesage'>
                    
                </div>
                <!--提示框-->
                <!--添加类型-->
                <div class="top_addres">
                    <div class="addres">商品类型列表</div> 
                    <span class="middle_bottom">|</span>
                    <a class="addsection addType" href="javascript:;"><span class="gtubiao"></span>添加类型</a> 
                </div>
                <table class="table1" cellspacing="0">
                    <tr>
                        <th width="40">选择</th>
                        <th width='40'>ID</th>
                        <th width="200">类型名称</th>
                        <th style="width:160px">操作</th>
                    </tr>
                    <foreach name='typeData' item='n'>
                    <tr>
                        <td><input type='checkbox' class='check' value="{$n.id}"></td>
                        <td>
                            {$n.id}
                        </td>
                        <td>
                            {$n.name}
                        </td>
                       <td>
                            &nbsp;<a href="javascript:;" class="delarc delete" name=""><span class="tubiao"></span>删除</a> ｜ 
                            <a href="{:U('article',array('tid'=>$n['id']))}" class="delete"><span class="redtubiao"></span>添加属性</a> 
                            ｜ 
                            <a href="" class="delete"><span class="look"></span>查看</a> 
                        </td>
                    </tr>
                    </foreach>
                    <tr>
                        <td colspan='4' class="bottom_find">
                            <div class="del_all">
                                <a href="javascript:;" class="find_all">全选</a>
                                <a href="javascript:;" class="not_all">全不选</a>
                                <a href="javascript:;" class="find_other">反选</a>
                                <a href="javascript:;" class="del">删除</a>
                            </div>
                            <div class='page'>{$page}</div>
                        </td>
                    </tr>
                    <!--请求数据时-->
                    <div class="beforeajax"></div>
                </table>
            </body>
            </html>
